/********************************************************************
	created:	2008/09/08
	author:		Gary
	purpose:	
	email:		renjiahui@gmail.com
	site:		http://code.google.com/p/smsservice/
*********************************************************************/

#if !defined(AFX_TCPENGINE_H__C90791DE_2379_42C9_92B9_CB6DC3CA8FD6__INCLUDED_)
#define AFX_TCPENGINE_H__C90791DE_2379_42C9_92B9_CB6DC3CA8FD6__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include <stdio.h>
#include <winsock2.h>
#include <mswsock.h>


class ISocket;
class CSocketEngine  
{
public:
	CSocketEngine();
	virtual ~CSocketEngine();
public:
    BOOL Select();
	BOOL Add(ISocket* pSocket);
	BOOL AddToAddList(ISocket* pSocket);
public:
    LOG4CPLUS_CLASS_DECLARE( _s_logger );
};

#endif // !defined(AFX_TCPENGINE_H__C90791DE_2379_42C9_92B9_CB6DC3CA8FD6__INCLUDED_)
